const map = {1:'房产',2:'车辆',3:'银行',4:'动产', 5: '股权',7:'第三人债权'}

const birthdayFormat = ({year,month,day})=>{

    return `${year === ""? "----":year}年${month === ""?  "--":month}月${day === ""?  "--":day}日`
}


const getTypeStr = (t)=>{
    return map[t];
}

const format = {
    birthdayFormat,getTypeStr
}

export default format